#!/bin/bash -e

rm -rf ./dl-assets/
mkdir -p ./dl-assets/
pushd ./dl-assets/
wget https://github.com/raulojeda22/Bash-Shell-RPG/archive/a00ce13e22d625cd2672cfb7d0eaf180ab98a3a2.zip
unzip a00ce13e22d625cd2672cfb7d0eaf180ab98a3a2.zip
pushd Bash-Shell-RPG-a00ce13e22d625cd2672cfb7d0eaf180ab98a3a2/
mv RPG.sh bash-shell-rpg
popd
popd
dpkg-buildpackage -us -uc
lintian ../bash-shell-rpg_1.1~spark3_all.deb
